package com.Service;

import com.pojo.GroupActivity;
import com.pojo.GroupActivityVO;

import java.util.List;

public interface   GroupActivityService {
    List<GroupActivity> findAll();

    GroupActivity findActiveByProductId(Long productId);

    void add(GroupActivity groupActivity);

    GroupActivity findById(Long id);

    void update(GroupActivity groupActivity);

    void delete(Long id);

    List<GroupActivityVO> findAllVO();

    GroupActivityVO findVOById(Long id);

    List<GroupActivity> findAllAO();
    Long initiateGroup(Long productId, Long userId);

}
